﻿using BLL;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Services;
using Newtonsoft.Json;

namespace PropertyAppraisal
{
    public partial class XunJia : System.Web.UI.Page
    {
        InquiryBll bll = new InquiryBll();

        protected void Page_Load(object sender, EventArgs e)
        {

        }

        /// <summary>
        /// 绑定表格
        /// </summary>
        /// <returns></returns>
        [WebMethod]
        public static string showXunJia()
        {
            InquiryBll bll = new InquiryBll();
            var result = bll.InquiryList();
            return JsonConvert.SerializeObject(result);
        }
        
    }
}